// * 面试管理模块状态

// * 面试安排table状态
export const interviewArrangementStatus = {
  0: {
    key: "0",
    label: "--",
    className: '',
    hidden: true
  },
  1: {
    key: "1",
    label: "待安排",
    className: 'font-color-red'
  },
  4: {
    key: "4",
    label: "已安排",
    className: 'font-color-blue',
  },
  2: {
    key: "2",
    label: "已安排",
    className: 'font-color-blue',
    hidden: true
  },
  3: {
    key: "3",
    label: "已安排",
    className: 'font-color-blue',
    hidden: true
  },
  5: {
    key: "5",
    label: "已安排",
    className: 'font-color-blue',
    hidden: true
  },
  6: {
    key: "6",
    label: "已安排",
    className: 'font-color-blue',
    hidden: true
  },
}

// * 面试安排table审批状态
export const approverStatus = {
  '-1': {
    label: "--",
    key: "-1",
    type: "notarrange",
    className: ''
  },
  0: {
    label: "待审批",
    key: "0",
    type: "notarrange",
    className: 'font-color-blue'
  },
  1: {
    label: "审批中",
    key: "1",
    type: "tbarrange",
    className: 'font-color-origin'
  },
  2: {
    label: "已审核",
    key: "2",
    type: "tbarrange",
    className: 'font-color-green'
  },
  3: {
    label: "已驳回",
    key: "3",
    type: "havearranged",
    className: 'font-color-red'
  },
  4: {
    label: "已废弃",
    key: "4",
    type: "havearranged",
    className: 'font-color-red'
  },
  5: {
    label: "已撤回",
    key: "5",
    type: "havearranged",
    className: 'font-color-origin'
  },
}

export const approverOption = {
  0: {
    label: "待审批",
    key: "0",
    type: "notarrange",
    className: 'font-color-blue'
  },
  1: {
    label: "审批中",
    key: "1",
    type: "tbarrange",
    className: 'font-color-origin'
  },
  2: {
    label: "已审核",
    key: "2",
    type: "tbarrange",
    className: 'font-color-green'
  },
  3: {
    label: "已驳回",
    key: "3",
    type: "havearranged",
    className: 'font-color-red'
  },
  4: {
    label: "已废弃",
    key: "4",
    type: "havearranged",
    className: 'font-color-red'
  },
  5: {
    label: "已撤回",
    key: "5",
    type: "havearranged",
    className: 'font-color-red'
  },
}

// * 面试查询table状态
export const interviewSearchStatus = {
  2: {
    key: '2',
    label: "已通过",
    className: 'font-color-green'
  },
  3: {
    key: '3',
    label: "未通过",
    className: 'font-color-red'
  },
  4: {
    key: '4',
    label: "面试中",
    className: 'font-color-origin'
  },
  5: {
    key: '5',
    label: "待定",
    className: 'font-color-blue'
  },
  6: {
    key: '6',
    label: "取消面试",
    className: 'font-color-red'
  },
}

// * 面试查询table审批状态
export const interviewApproverStatus = {
  '0':{
    label: "审批中",
    key: "0",
    className: 'font-color-blue',
    index: 0
  },
  '1':{
    label: "审批通过",
    key: "1",
    className: 'font-color-green',
    index: 1
  },
  '2':{
    label: "审批驳回",
    key: "2",
    className: 'font-color-red',
    index: 2
  },
  '-1':{
    label: "--",
    key: "-1",
    className: '',
    index: 3
  },
}

// * 订单确认table状态
export const orderStatus = {
  0: {
    key: 0,
    label: "待接收",
    className: 'font-color-blue'
  },
  1: {
    key: 1,
    label: "已接收",
    className: 'font-color-green'
  },
  // 2: {
  //   key: 2,
  //   label: "已关闭",
  //   className: 'font-color-red'
  // },
  3: {
    key: 3,
    label: "已拒绝",
    className: 'font-color-red'
  },
}

// * 入场申请table状态
export const entranceStatus = {
  0: {
    key: 0,
    label: "待接收",
    className: 'font-color-blue'
  },
  1: {
    key: 1,
    label: "已接收",
    className: 'font-color-green'
  },
  2: {
    key: 2,
    label: "已关闭",
    className: 'font-color-red'
  },
  3: {
    key: 3,
    label: "已拒绝",
    className: 'font-color-red'
  },
}
